//
//  XinLiCePingApis.m
//  students
//
//  Created by 任辰东 on 2024/2/26.
//

#import "XinLiCePingApis.h"

@implementation XinLiCePingApis

+ (void)CepingListRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/CepingList" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)getXinliDetailRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/getXinliDetail" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)xxb_XinliDatiRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/xxb_XinliDati" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}
@end
